{% load static %}

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>blog</title>

    <script type="text/javascript" src="/static/tinymce/tinymce.min.js"></script>

    <script type="text/javascript">

        tinyMCE.init({
            "mode":"textareas",
            {#这个thme不一定是视频里教的advanced，要看site-packages/tinymce里面的目录结构#}
            "theme" : "silver",
            "width" : 800,
            "height" : 600
        })

    </script>
</head>
<body>

<form action="{% url 'HelloProject:edit_blog' %}" method="post">


    {% csrf_token %}

    <textarea name="content">

    </textarea>

    <button>保存</button>
</form>


</body>
</html>